import Slot from "../layouts/Slot";
import SpecialZoomLevel from "../SpecialZoomLevel";
import { PdfJs } from "../interface";
import { RefObject } from "react";

export default interface RenderViewer {
  containerRef: RefObject<HTMLDivElement>;
  doc: PdfJs.PdfDocument;
  pageHeight: number;
  pageWidth: number;
  rotation: number;
  slot: Slot;
  openFile(file: File): void;
  jumpToPage(page: number): void;
  rotate(degree: number): void;
  zoom(level: number | SpecialZoomLevel): void;
}
